Ext.define('DragonApp.store.OperatorStore', {
    extend: 'Ext.data.Store',
	
	alias: 'store.operator', 
    model: 'DragonApp.model.Operator',
	
    proxy: {

        url: DragonApp.ux.config.Config.getUrl('/index/Logs/operators/'),
		callbackKey: 'callback',
        type: 'jsonp',
		
        reader: {
             type: 'json',
             rootProperty: 'rows',
			 totalProperty: 'total'
        },
        listeners: {
            exception: function(proxy, response, operation){
                DragonApp.util.Msg.showErrorMsg(response);
            }
        }
     },
    autoLoad: true
});	